home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Mac OS SDK / Dev.CD Jan 98 SDK2.toast / Development Kits (Disc 2) / QuickDraw GX / Programming Stuff / Sample Code / Printing Samples / Printer Drivers… / ImageWriter--custom dialogs / ChooserSupport.a next >
Encoding:
Text File  |  1996-06-15  |  1.6 KB  |  59 lines  |  [TEXT/MPS ]

  1. ;  ------------------------------------------------------------------------------
  2. ;
  3. ;    FILENAME
  4. ;        ChooserSupport.a
  5. ;
  6. ;    DESCRIPTION
  7. ;        Contains the code to form the first part of the Chooser 'PACK' for
  8. ;        this driver.
  9. ;
  10. ;    COPYRIGHT
  11. ;        Copyright © Apple Computer, Inc. 1992-1996
  12. ;        All rights reserved. 
  13. ;
  14. ;    12/20/93        dmh                Sync'd with the shipping 1.0b3 GX driver.
  15. ;    12/22/93        dmh                Added custom dialog code.
  16. ;     6/14/96        cn                Updated to support longer branch.
  17. ;--------------------------------------------------------------------------------
  18.  
  19.     STRING    ASIS
  20.     CASE OBJ
  21.  
  22. kAppleTalkDevice        EQU    $80000000
  23. kIsPAPDevice            EQU $40000000
  24. kIsPostScriptDevice        EQU $20000000
  25. kMultiSelect            EQU    $10000000
  26. kLeftButton                EQU    $08000000
  27. kRightButton            EQU    $04000000
  28. kNoSavedZone            EQU $02000000
  29. kActualZoneNames        EQU    $01000000
  30. kNoIntlChars            EQU    $00800000
  31. kEvenUpName                EQU    $00400000
  32. kLengthOnRename            EQU    $00200000
  33. kUsesOnAndOff            EQU    $00100000
  34. kNoSetSelfSend            EQU    $00080000
  35. kUnused18                EQU    $00040000
  36. kAcceptsInit            EQU    $00020000
  37. kAcceptsNewSel            EQU $00010000
  38. kAcceptsFillList        EQU $00008000
  39. kAcceptsGetSel            EQU    $00004000
  40. kAcceptsSelect            EQU $00002000
  41. kAcceptsDeselect        EQU $00001000
  42. kAcceptsTerminate        EQU    $00000800
  43.  
  44.     IMPORT DEVICE
  45. EntryPoint    PROC EXPORT
  46.         BRA.W    DEVICE                            ; branch to our actual code
  47.         DC.W    169                                ; device ID
  48.         DC.L    'PACK'                            ; device Type
  49.         DC.W    $F000                            ; master ID for resources (-4096)
  50.         DC.W    2                                ; version
  51.         DC.L    kLeftButton+kUsesOnAndOff+kAcceptsInit+kAcceptsTerminate    ; flags
  52.         
  53. gJob PROC EXPORT
  54.         DC.L    0                                ; Job global
  55.         
  56. gDriverName    PROC EXPORT
  57.         DS.B    32                                ; driverName
  58.     END
  59.